<!--{if $list}-->
<ul>
<!--{loop $list $value}-->
	<!--{if $value[uid]}-->
		<!--{if is_numeric($value[upid])}-->
			<!--{eval}-->
			<!--
				$doingat_tmp = DB::fetch_first("SELECT * FROM ".DB::table('home_docomment')." WHERE id=' $value[upid]'");
				$doingat_uid = $doingat_tmp[uid];
				$doingat_user = $doingat_tmp[username];
			-->
			<!--{/eval}-->
		<!--{else}-->
			<!--{eval}-->
			<!--
				$doingat_tmp = DB::fetch_first("SELECT * FROM ".DB::table('home_doing')." WHERE doid=' $value[doid]'");
				$doingat_uid = $doingat_tmp[uid];
				$doingat_user = $doingat_tmp[username];
			-->
			<!--{/eval}-->
		<!--{/if}-->
	<li class="ptn pbn {$value['class']}">
		<div class="l_space_doing_li">
		<i><img src="$_G['style']['styleimgdir']/l_space_doing_li_i.gif" alt="" /></i>
		<a href="home.php?mod=space&uid=$value[uid]" class="lit dousername" c="1">$value[username]</a> : {lang reply} <!--{if $doingat_uid}--><a href="home.php?mod=space&uid=$doingat_uid" class="lit dousername" c="1">@$doingat_user</a><!--{else}--><a class="docomment_wooops">原评论已删除</a><!--{/if}--> $value[message] <span class="xg1"></span>

		<em class="extra_em">
			<!--{if $_G[uid] && helper_access::check_module('doing')}-->
			<a href="javascript:;" onclick="docomment_form($value[doid], $value[id], '$_GET[key]');" title="{lang reply}"><img src="$_G['style']['styleimgdir']/l_space_doing_reply.gif" alt="" /></a>
			<!--{/if}-->
			<!--{if $value[uid]==$_G[uid] || $dv['uid']==$_G[uid] || checkperm('managedoing')}-->
				 <a href="home.php?mod=spacecp&ac=doing&op=delete&doid=$value[doid]&id=$value[id]&handlekey=doinghk_{$value[doid]}_$value[id]" id="{$_GET[key]}_doing_delete_{$value[doid]}_{$value[id]}" onclick="showWindow(this.id, this.href, 'get', 0);" title="{lang delete}"><img src="$_G['style']['styleimgdir']/l_space_doing_del.gif" alt="" /></a>
			<!--{/if}-->
			<!--{if checkperm('managedoing')}-->
			<a title="IP: $value[ip]"><img src="$_G['style']['styleimgdir']/l_space_doing_ip.gif" alt="" />
			<!--{/if}-->
			<a class="td_dateline" title="<!--{date($dv['dateline'], '')}-->"><!--{date($value['dateline'], 'n-j H:i')}--></a>
		</em>
		<div id="{$_GET[key]}_form_{$value[doid]}_{$value[id]}"></div>
		</div>
	</li>
	<!--{/if}-->
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="tri"></div>

